import sys,urllib2
req=urllib2.Request('http://news.163.com')
fd=urllib2.urlopen(req)
while True:
    data=fd.read(1024)
    if not len(data):
        break
    print data
